package file;

import java.io.File;

public class Demo5 {
    public static void main(String[] args) {
        File file = new File("./test/111/222");
        //创建单级目录
//        boolean result = file.mkdir();
        //创建多级目录
        boolean result = file.mkdirs();
        System.out.println(result);
    }
}
